var CategoryBL = {
    matchInitialTestToCategory : function( result ){
        if(result == "" || (result >= 0 && result < 6)){
            localStorage.setItem("category_type", 1);
            localStorage.setItem("week_num", 1);
            localStorage.setItem("day_num", 1);
        }else if(result >= 6 && result < 11){
            localStorage.setItem("category_type", 2);
            localStorage.setItem("week_num", 1);
            localStorage.setItem("day_num", 1);
        }else if(result >= 11 && result < 21){
            localStorage.setItem("category_type", 3);
            localStorage.setItem("week_num", 1);
            localStorage.setItem("day_num", 1);
        }else if(result >= 21 && result < 150){
            localStorage.setItem("category_type", 1);
            localStorage.setItem("week_num", 3);
            localStorage.setItem("day_num", 1);
        }else{
            localStorage.setItem("category_type", 1);
            localStorage.setItem("week_num", 3);
            localStorage.setItem("day_num", 1);
        }
    }
}
